﻿// <copyright file="iCrossDomainService.cs" company="company"> 
// (C) 2010 . All rights reserved
// </copyright>
// <author>Lukasz Bartczak</author>

namespace WcfService1
{
    using System.ServiceModel;
    using System.ServiceModel.Channels;
    using System.ServiceModel.Web;

    /// <summary>
    /// Interface for cross domain service
    /// </summary>
    [ServiceContract]
    public interface ICrossDomainService
    {
        /// <summary>
        /// Provides the policy file.
        /// </summary>
        /// <returns>Service message</returns>
        [OperationContract]
        [WebGet(UriTemplate = "ClientAccessPolicy.xml")]
        Message ProvidePolicyFile();
    }
}
